<template>
  <div id="app">
    
    <router-view></router-view>

  </div>
</template>

<script>
export default {
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
}
.page {
  position: absolute;
  top: 0;
  left: 0;
  /* 隔开tabbar的位置 */
  bottom: 49px;
  width: 100%;
  background: #fff;
}
.page.subpage {
  bottom: 0;
  z-index: 10;
  background-color: #fff;
}
.tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 49px;
  display: flex;
  border-top: 1px solid #eee;
}
.tab-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-direction: column;
  font-size: 12px;
}
.tab-item span {
}
.tab-item img {
  width: 32px;
}
.tab-item.router-link-active {
  color: red;
}
.header {
  width: 100%;
  height: 44px;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #eee;
}
.header .back-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main {
  width: 100%;
  top: 44px;
  left: 0;
  bottom: 0;
  position: absolute;
}
</style>
